package com.dgut.finaldemo.service;

import com.dgut.finaldemo.entity.TeacherHealth;
import com.dgut.finaldemo.vo.DataVO;

public interface TeacherHealthService {
    DataVO<TeacherHealth> findData(Integer page,Integer limit);
    Integer addTeacherHealth(TeacherHealth teacherHealth);

    void updateTeacherHealth(TeacherHealth teacherHealth);
    void deleteTeacherHealthById(Integer hid);
    DataVO<TeacherHealth> searchTeacherHealth(Integer page, Integer limit,
                                              TeacherHealth teacherHealth,Float maxTemperature);
    DataVO<TeacherHealth> searchTeacherHealthByDay(Integer page, Integer limit);
    TeacherHealth queryTeacherHealthByDate(String username, String date);
}
